#!/bin/bash

chromium-browser --no-sandbox --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 --user-data-dir=/root/chrome-data-9222 --disable-web-security --headless --disable-gpu > /dev/null 2>&1 &
#chromium-browser --no-sandbox --remote-debugging-address=0.0.0.0 --remote-debugging-port=9223 --user-data-dir=/root/chrome-data-9223 --disable-web-security --headless --disable-gpu > /dev/null 2>&1 &

cd /root/zoro.git/server
/root/node/bin/node index.js chrome > index.log 2>&1